<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站后台管理系统</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="__PUBLIC__/admin/css/style_v2.0.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie6.css"/>
<![endif]-->
<link rel="stylesheet" type="text/css"  href="__PUBLIC__/layui/css/layui.css">
<link rel="stylesheet" type="text/css"  href="../../../../public/layui/css/layui.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
<style> 
body 
{ 
OVERFLOW-X: hidden; /*水平方向*/ 
OVERFLOW-Y: hidden; /*垂直方向*/ background-color:#f2f2f2;
height:100%; 
}
</style>
<script type="text/javascript">
	$(document).ready(function(){
	    $(".foldbar").toggle(function(){
		    $(this).attr("class","foldbar2");
			$("#nav_left").attr("class","allleft2");
			$(".layui-side").css('width','60px');
			$(".layui-side-scroll").css('width','60px');
			$(".layui-body").css('left','70px');
			//$(".left_menu:visible").slideUp();//关闭子栏目
			//$(".left_menu").css('display','none');
		}, function(){
		   $(this).attr("class","foldbar");
		   $("#nav_left").attr("class","allleft");
		   $(".layui-side").css('width','180px');
		   $(".layui-side-scroll").css('width','180px');
		   $(".layui-body").css('left','200px');
		});//开启关闭左侧导航
		
	   $(".left_title").click(function(){
	        //if ($("#nav_left").prop("className") == "allleft2"){
//			     $("#nav_left").attr("class","allleft");
//				 $("#switchbar").attr("class","foldbar");
//				 $(".layui-side").css('width','180px');
//		         $(".layui-side-scroll").css('width','180px');
//				 $(".layui-body").css('left','200px');
//			}//当左侧导航隐藏时候，点击任意子菜单自动展开
			$(this).next("ul").slideToggle()
			.siblings(".left_menu:visible").slideUp().css('display','none');
			$(this).toggleClass("left_title_over");
			$(this).siblings(".left_title_over").removeClass("left_title_over");
		});//开启关闭子菜单
		
		
	});
</script>
</head>
<body leftmargin="0" topmargin="0" bottommargin="0" scroll="no" style="height:100%;"> 
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
      <include file="top" />
    <!-- 头部区域（可配合layui已有的水平导航） -->
  </div>
  <div class="layui-side layui-bg-black" id="layui_left">
    <div class="layui-side-scroll">
    <include file="left" />
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
    </div>
  </div>
  <div class="layui-body" style="height:90%; ">
  <IFRAME frameBorder=0 id=frmright style="height:100%; width:100%;" name=frmright scrolling=yes src="{:U('main')}" class="main_iframe"></IFRAME>
    <!-- 内容主体区域 -->
  </div>
</div>
</body>
</html>